Manager: Gestalt Manager



Carbon fully supports the Gestalt Manager. However, the results returned by Gestalt functions on Mac OS X are relevant only to your application's context. You should not use Gestalt functions to pass pointers to data among applications because each Carbon application resides in its own protected memory space in Mac OS X.

For compatibility with Mac OS X, you should avoid using the NewGestalt function to add a selector code, which requires moving your selector function into the system heap. You should also avoid using the ReplaceGestalt function to replace an existing selector function, which also requires your replacement function to reside in the system heap. Applications do not have access to the system heap in Mac OS X.

Supported  CallSelectorFunctionProc

Supported  DeleteGestaltValue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DisposeSelectorFunctionUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Gestalt

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  InvokeSelectorFunctionUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  NewGestalt

For compatibility with Mac OS X, you should avoid using the NewGestalt function to add a selector code, which requires moving your selector function into the system heap.

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  NewGestaltValue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  NewSelectorFunctionUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ReplaceGestalt

You should avoid using the ReplaceGestalt function to replace an existing selector function, which also requires your replacement function to reside in the system heap. Applications do not have access to the system heap in Mac OS X.

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ReplaceGestaltValue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SelectorFunctionProcPtr

Supported  SetGestaltValue

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.